[PATCH] coredump filter: add mask for 'all' using UINT32_MAX, not UINT64_MAX
authorLuca Boccassi <bluca@debian.org>
Wed, 26 Apr 2023 13:19:33 +0000 (14:19 +0100)
committerArnaud Rebillout <arnaudr@debian.org>
Mon, 13 Apr 2026 07:18:40 +0000 (14:18 +0700)
commit6868c14e6919e8383fa3f1e7d5da8b7642b20e18
tree1aff8ff1823936944a3ecf5ea3a053769dfcf934
parent7570ae0210136be03ce7250dfec3cc4309295931
[PATCH] coredump filter: add mask for 'all' using UINT32_MAX, not UINT64_MAX

The kernel returns ERANGE when UINT64_MAX is passed. Create a mask
and use UINT32_max, which is accepted, so that future bits will also
be set.

Origin: upstream, https://github.com/systemd/systemd/commit/7f3bb8f20dcccaceea8b1ee05f0560b81162037b
Forwarded: not-needed
Last-Update: 2025-07-27

Gbp-Pq: Name fix-stack-overflow-in-coredump-filter-1.patch
src/shared/coredump-util.c
src/shared/coredump-util.h
src/test/test-coredump-util.c